package com.lzx.shop.dataobject;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;
import lombok.Data;

/**
 * store
 * @author 
 */
@ApiModel(value="com.lzx.shop.dataobject.StoreDO")
@Data
@TableName("store")
public class StoreDO implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value="主键")
    private String id;

    /**
     * 店铺名
     */
    @ApiModelProperty(value="店铺名")
    private String storeTitle;

    /**
     * 店主id
     */
    @ApiModelProperty(value="店主id")
    private String userId;

    @TableField(exist = false)
    private UserDO userDO;

    /**
     * 描述
     */
    @ApiModelProperty(value="描述")
    private String intro;

    /**
     * 修改时间
     */
    @ApiModelProperty(value="修改时间")
    private LocalDateTime gmtModified;

    /**
     * 创建时间
     */
    @ApiModelProperty(value="创建时间")
    private LocalDateTime gmtCreated;

    /**
     * 等级
     */
    @ApiModelProperty(value="等级")
    private Integer level;

    private static final long serialVersionUID = 1L;
}